package com.kws.tool.dto;

import io.swagger.annotations.ApiModelProperty;
import org.jetbrains.annotations.NotNull;

import java.util.List;

/**
 * <b>QueryTemplateMakingRq</b>
 *
 * @description: QueryTemplateMakingRq <br>
 * @date: 2024/11/11 16:33 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class QueryTemplateMakingRq {
    @ApiModelProperty(value = "模板名称,必传")
    @NotNull
    private String docTemplateName;

    @ApiModelProperty(value = "模板类型，必传，默认值为 0,0 - PDF模板,1 - HTML模板")
    private Integer docTemplateType;

    @ApiModelProperty(value = "底稿文件ID，必传")
    @NotNull
    private String fileId;

    @ApiModelProperty(value = "制作模板完成后页面重定向跳转地址")
    private String redirectUrl;

    @ApiModelProperty(value = "是否隐藏原始控件，默认false-不隐藏")
    private boolean hiddenOriginComponents;

    @ApiModelProperty(value = "要展示的基础控件类型列表,不传默认全部展示:1 - 单行文本，2 - 数字，3 - 日期，5 - 骑缝签署区，6 - 普通签章区，8 - 多行文本，9 - 复选，10 - 单选，11 - 图片，14 -下拉框，15 - 勾选框，16 - 身份证，17 - 备注区域")
    private List<Integer> basicComponentsType;

    @ApiModelProperty(value = "是否展示替换底稿按钮，默认值 false")
    private boolean showReplaceFraft;

    @ApiModelProperty(value = "要展示的自定义控件组ID列表")
    private List<String> customComponentGroups;

    @ApiModelProperty(value = "要展示的自定义控件ID列表")
    private List<String> customComponents;

    @ApiModelProperty(value = "签署方角色标识，只对签署区控件生效（可以自定义命名，如：甲方、乙方）")
    private List<String> signerRoles;

    @NotNull
    public String getDocTemplateName() {
        return docTemplateName;
    }

    public void setDocTemplateName(@NotNull String docTemplateName) {
        this.docTemplateName = docTemplateName;
    }

    public Integer getDocTemplateType() {
        return docTemplateType;
    }

    public void setDocTemplateType(Integer docTemplateType) {
        this.docTemplateType = docTemplateType;
    }

    @NotNull
    public String getFileId() {
        return fileId;
    }

    public void setFileId(@NotNull String fileId) {
        this.fileId = fileId;
    }

    public String getRedirectUrl() {
        return redirectUrl;
    }

    public void setRedirectUrl(String redirectUrl) {
        this.redirectUrl = redirectUrl;
    }

    public boolean isHiddenOriginComponents() {
        return hiddenOriginComponents;
    }

    public void setHiddenOriginComponents(boolean hiddenOriginComponents) {
        this.hiddenOriginComponents = hiddenOriginComponents;
    }

    public List<Integer> getBasicComponentsType() {
        return basicComponentsType;
    }

    public void setBasicComponentsType(List<Integer> basicComponentsType) {
        this.basicComponentsType = basicComponentsType;
    }

    public boolean isShowReplaceFraft() {
        return showReplaceFraft;
    }

    public void setShowReplaceFraft(boolean showReplaceFraft) {
        this.showReplaceFraft = showReplaceFraft;
    }

    public List<String> getCustomComponentGroups() {
        return customComponentGroups;
    }

    public void setCustomComponentGroups(List<String> customComponentGroups) {
        this.customComponentGroups = customComponentGroups;
    }

    public List<String> getCustomComponents() {
        return customComponents;
    }

    public void setCustomComponents(List<String> customComponents) {
        this.customComponents = customComponents;
    }

    public List<String> getSignerRoles() {
        return signerRoles;
    }

    public void setSignerRoles(List<String> signerRoles) {
        this.signerRoles = signerRoles;
    }
}
